package com.gc.server.service;

import com.gc.server.entity.NoticeEntity;
import com.gc.server.vo.NoticeVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 公告Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 09:22:03 CST 2020
 */
public interface NoticeService extends BaseService<NoticeEntity> {

    /************自动生成**************/
    List<NoticeVo> findVo(NoticeVo vo);

    NoticeVo getVo(Long id);

    int updateVo(NoticeVo vo);

    int saveVo(NoticeVo vo);

    void downLoad(HttpServletResponse response, List<NoticeVo> list);

    /***********BACK***********/


    /***********API***********/

    NoticeEntity findNew(Long levelId);


}
